import Axios from 'axios';

let axios=Axios.create({
  baseURL: 'http://localhost:8082/admin',
  // headers: {
  //   token: localStorage.token
  // }
});

axios.interceptors.request.use(config=>{
  config.headers.token=localStorage.token;

  return config;
});

export default axios
